package com.retail.order.domain;

public class Take {
    /**
     * 收获id
     */
    private Integer takeId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 收获人
     */
    private String takeName;
    /**
     * 收获地址
     */
    private String takeAddress;
    /**
     * 收获人手机号
     */
    private String takePhone;

    @Override
    public String toString() {
        return "Take{" +
                "takeId=" + takeId +
                ", userId=" + userId +
                ", takeName='" + takeName + '\'' +
                ", takeAddress='" + takeAddress + '\'' +
                ", takePhone='" + takePhone + '\'' +
                '}';
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    public Integer getTakeId() {
        return takeId;
    }

    public void setTakeId(Integer takeId) {
        this.takeId = takeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getTakeName() {
        return takeName;
    }

    public void setTakeName(String takeName) {
        this.takeName = takeName;
    }

    public String getTakeAddress() {
        return takeAddress;
    }

    public void setTakeAddress(String takeAddress) {
        this.takeAddress = takeAddress;
    }

    public String getTakePhone() {
        return takePhone;
    }

    public void setTakePhone(String takePhone) {
        this.takePhone = takePhone;
    }

    public Take() {
    }

    public Take(Integer takeId, Integer userId, String takeName, String takeAddress, String takePhone) {
        this.takeId = takeId;
        this.userId = userId;
        this.takeName = takeName;
        this.takeAddress = takeAddress;
        this.takePhone = takePhone;
    }
}
